﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/main.Master" CodeBehind="tAlumno.aspx.vb" Inherits="Notas.tAlumno" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table cellpadding="0" class="style1">
        <tr>
            <td colspan="3" style="text-align:center">
                <h2>Alta de alumno</h2>
                <hr />
            </td>
            </tr>
            <tr>
                <td style="width:40%">
                    &nbsp;</td>
                <td>
                    <asp:Panel ID="Panel1" runat="server" GroupingText="Datos personales">
                        <table cellpadding="0" class="style1">
                            <tr>
                                <td nowrap="nowrap" style="text-align: right">
                                    Numero de Documento:</td>
                                <td>
                                    <asp:TextBox ID="txtDNI" runat="server"></asp:TextBox>
                                </td>
                                <td nowrap="nowrap">
                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                        ControlToValidate="txtDNI" ErrorMessage="Ingrese solo numeros" 
                                        ValidationExpression="\d*"></asp:RegularExpressionValidator>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                        ControlToValidate="txtDNI" ErrorMessage="Complete el numero de documento"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td style="text-align: right">
                                    Apellidos:</td>
                                <td>
                                    <asp:TextBox ID="txtApellido" runat="server"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                        ControlToValidate="txtApellido" ErrorMessage="Ingrese al apellido"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td style="text-align: right">
                                    Nombres:</td>
                                <td>
                                    <asp:TextBox ID="txtNombre" runat="server"></asp:TextBox>
                                </td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td style="text-align: right">
                                    Sexo:</td>
                                <td>
                                    <asp:DropDownList ID="txtSexo" runat="server">
                                        <asp:ListItem>Masculino</asp:ListItem>
                                        <asp:ListItem>Femenino</asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td style="text-align: right">
                                    Fecha de Nacimiento:</td>
                                <td nowrap="nowrap">
                                    <asp:TextBox ID="txtFechaNac" runat="server"></asp:TextBox>
                                    <asp:ImageButton ID="btnCalendario" runat="server" AlternateText="Calendario" 
                                        ImageUrl="~/Resources/calendario.png" />
                                    <div runat="server" style="position: fixed; top: 50%; left: 50%; " 
                                        ID="divCalendario">
                                        <asp:Calendar ID="cal" runat="server" BackColor="White" 
                                            BorderColor="#3366CC" BorderWidth="1px" CellPadding="1" 
                                            DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt" 
                                            ForeColor="#003399" Height="200px" Width="220px">
                                            <DayHeaderStyle BackColor="#99CCCC" ForeColor="#336666" Height="1px" />
                                            <NextPrevStyle Font-Size="8pt" ForeColor="#CCCCFF" />
                                            <OtherMonthDayStyle ForeColor="#999999" />
                                            <SelectedDayStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
                                            <SelectorStyle BackColor="#99CCCC" ForeColor="#336666" />
                                            <TitleStyle BackColor="#003399" BorderColor="#3366CC" BorderWidth="1px" 
                                                Font-Bold="True" Font-Size="10pt" ForeColor="#CCCCFF" Height="25px" />
                                            <TodayDayStyle BackColor="#99CCCC" ForeColor="White" />
                                            <WeekendDayStyle BackColor="#CCCCFF" />
                                        </asp:Calendar>
                                        <asp:Button ID="btnCerraCal" runat="server" Text="Cerrar" />
                                    </div>
                                </td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td style="text-align: right">
                                    Nacionalidad:</td>
                                <td>
                                    <asp:TextBox ID="txtNacionalidad" runat="server"></asp:TextBox>
                                </td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td style="text-align: right">
                                    Domicilio:</td>
                                <td>
                                    <asp:TextBox ID="txtDomicilio" runat="server"></asp:TextBox>
                                </td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td style="text-align: right">
                                    Localidad:</td>
                                <td>
                                    <asp:TextBox ID="txtLocalidad" runat="server"></asp:TextBox>
                                </td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td style="text-align: right">
                                    Pais:</td>
                                <td>
                                    <asp:TextBox ID="txtPais" runat="server"></asp:TextBox>
                                </td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td style="text-align: right">
                                    Telefono:</td>
                                <td>
                                    <asp:TextBox ID="txtTelefono" runat="server"></asp:TextBox>
                                </td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td style="text-align: right">
                                    Correo electrónico:</td>
                                <td>
                                    <asp:TextBox ID="txtEMail" runat="server"></asp:TextBox>
                                </td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td colspan="3" style="text-align: center">
                                    <asp:Button ID="btnAdd" runat="server" Text="Agregar alumno" />
                                </td>
                            </tr>
                            <tr>
                                <td colspan="3" style="text-align: center">
                                    <asp:Label ID="lblMsg" runat="server" Text="Label" ForeColor="Red"></asp:Label>
                                </td>
                            </tr>
                        </table>
                    </asp:Panel>
                </td>
                <td width="40%">
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
</asp:Content>
